package com.example.zhuopeng.graduateddesign.util;

import android.text.Editable;

/**
 * Created by zhuopeng on 2018/4/10.
 */

public class UrlFactory {
    private static final String TAG = "UrlFactory";
    private static String key = "df11c35c8da57f76098e5d8f6828d7a3";
    public static String createDefaultUrl(String output , String cityCode, Editable input){
        return "http://restapi.amap.com/v3/assistant/inputtips?"
                +"output="+output
                + "&city=" + cityCode
                +"&keywords=" +input
                + "&key=" + key;
    }
}
